package com.ch.my

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.commit

class MyActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_my)
        supportFragmentManager.commit {
            setReorderingAllowed(true)
            replace(R.id.fcv, MyFragment())
        }
    }

}